Fix issues in mapping path and use a chain in `MappingFormatter`.