Collection of frequently-used functions.