Fixing initialization of controllers.