Remove unused method and default values.