added Mapping.extend method