Should fix most of #216, #281, #282, and probably a few others. We are now namespacing. MG is the top level.