+1 for DRYness. Cool technique. I've learned something new!