Added reference_wrapper hash and comparison functions