Miscellaneous utilties.

These are general-use classes which aren't specific to the Kowari application.