Partial conversion of light_controller to strict mode.