Doc: Add documentation for deprecated function.