Remove code that is not needed.