Added support for the name stub with namespace.