Add minor functions.