Take into account namespaces in the ajax instantiator