support ComplexType, Valid(value, api, highlight) impl