== Jan 12 2005 * Added code to handle single table inheritance. May need to be modified for non-standard use of STI.