Added the "Commit" and "Rollback" methods.