'Convert ``elem`` into internal representation of this module.
If ``M`` is not None, it should be a module containing it.'

def convert(self, elem, M=None):

    if (not isinstance(elem, self.dtype)):
        raise CoercionFailed
    return elem
