Utilities useful in the domain package.