issue concerning polymorphic classes in non-global namespaces