simplify OtherTypeDef instances
always cast type for arrays