Clean up unused methods and constants.