Adds custom hash and eq functors (needed?)