Adds basic support for table inheritance