Equals/hash for simple pop