Added more elements to getSample* API calls and fixed usage of giveUUID()