A collection of miscellaneous functions.