Support model classes in namespaces.