Remove the enum because it's not used in any public method.