I don't think this really belongs in util; why can't it stay in init? Alternatively, some common.cpp or so?