Expose methods to allow users of the database class to control when transactions occur.