Added raw data methods to the Sample class.