Add manual transaction handling.