Moved some things around to clean up ::react namespace.