Remove leftovers from the API controller