Moved commit() method from IDataAccess to IPublish.