DOC: Add depracation warning.