Good point. This method return nil if type is falsy, but I take for granted that it actually return a class in `previous_target_scope`. I'll add a null check.