Mapper implementation.