Commonly needed apex functions. Help to keep code DRY.