Improve documentation of records