Move table names into Query class.