Okay, I was hesitant to do so because I really don't like adding a lot of extra code for small things like this, but it seems possible to write a fairly small utility for this with the benefit of added clarity.