Minor fixes in namespace.
Added the reflectNamespace macro.