I think that's quite reasonable and I can't think of anything cleaner.  LGTM