Expand description

Various pieces of common functionality.

Functions