Added savepoint class and an accessor method to transaction class