The type of elements stored in the mapping.

def type(self):
        "The type of elements stored in the mapping."
        if self._type is None and len(self):
            self._type = self.values()[0].__class__
        return self._type