Some utilities and other niceties