Fixed bug in the Commit.

Updated Rollback and DisposeOfSession to use the session argument.