Fixes namespaces for trace class