Changed MappingContext constructor to public for better usability.