ENH: Added deprecation warnings.