Library with datacontracts