Adjust relational classes to named namespaces