Cleans static_controller