Reverting deprecation warning.