added docs to SelectionRecord, made appropriate methods const