Personally I'd just completely inline it into the function, it's not that much code anymore…