You can't remove external API you'll break everyone's stuff. You can make it work using the new API and optionally raise DeprecationWarning.