Adds accessor methods in Record.