Stop polluting the global namespace and move everything into a single object.