Useful utilities.