Don't compare all of attributes->type