Inheritance fix (get_class() to get_called_class())