Add statements to an open transaction