Making MappingScheme compile