Collection of generic utility functions and classes.