add feature to enable/disable legacy namespacing