Implement Mappable class