Adds normalizeGroup method in Record.