Adds capability to extract nth type from a typelist.