Take extra attributes of value-type into account.