Add support for inherited tables