Added transaction class to facilitate transaction handling by TMImpl.java