* Added type check to get_ssa_* functions