Use global consts instead of that odd enum thing I dreamt up.
Transaction and savepoints convenience functions.