docs: def _create_mappings(self, spec):
          """ Create property name map based on aliases. """
          ret = dict(zip(set(spec.fields), set(spec.fields)))
          ret.update(dict([(n, s.alias) for n, s in spec.fields.items() if s.alias]))
          return ret