Fix to handle controllers with no models