Changed signatures of len and equal validators.