No need to call get_class twice