Could you move this whole thing into an internal function and then remove the comment (if you choose a good name, it will not be necessary any more). Thanks!