Removing old code from frontend controllers.