Removed Controller::getRepository()