Add setType and addType
Use parsed types for content