Since we moved the function out of the module for text specifically.
Refactored how mapping functions were organized.