remove extra functions, properties, and other code.