add support for single table inheritance (STI)