Expose database transaction "with" class to the public.