Remove code that is not used