Remove some unused methods.