Fix #3555260: Added underscore prefixes and updated deprecated function calls
Closes #3555260 by:
- Adding underscore-prefixed copies of the required procedural functions.
- Marked the original functions as deprecated, returning the new function calls within.
- Updated deprecated function calls throughout the module code.