Mapping Functions

The following functions are used for the handling of mappings.