def METHOD_NAME(self, cls):
    '''Inherit the Namespaces from the bases.'''
    for base in cls.__bases__:
        other = getattr(base, self.namespace_name, None)
        if isinstance(other, type(self)):
            self.join(other, cls)