Some work on data retrieval functions.