Use hash function rather than property