Avoid polluting the global namespace with local functions.