getTables added to SqlWrapper.