Swap to using root_namespace instead of constants