Move bootstrap code into its own namespace.