docs: Fix function names in deprecation notices.