add support for namespaced models