Added a long-needed deprecation warning.