Move utilitarian commands out to a Util module.