DRY up the holy grail code example.