Remove the deprecated methods.