"string types" to classes