Added thorough documentation to Record and RecordMode classes.