Make all functions private.

All functions are now only invokable from the script.