Remove some extraneous methods and properties.