Rename internal functions for more modular structure.