Change Admin::getClass to Admin->class