Working version of table commit.