Refactor to not check big contents (duplicate entries).