get_class doesn't check for interfaces