Added support for tables with version history