Remove unnecessary code (not needed after new controller).