Adding transfer object methods to custom samples.