Check for existence of controller class before creating definition