added support for namespaces in type hints