* util.mm: refactoring.