Utilities to make handling database transactions manually much easier.