Changed Table.types to types