Switch to a less verbose syntax for records in a loop.