Remove code that isn't needed.