Added support for table prefixes.