Take extra attributes of value-type into account when checking them.