Type parser class