General utility classes.