Remove Table.addTypes; Put Table.addType inside Table.inherit.