Handle the case of null namespaces in accessor api