get_called_class fallback (emulation)