Fix incorrectly referenced external in types.