Encapsulated data-class