Added parsing of type_key.