A collection of generic utility functions and classes.