Remove unused methods and ivars.