Adds getRecords in Record.