Put the register stuff in namespace Reg