Parsing types of constructor parameters