Made functions be namespaced to avoid conflict.