Const fix for pointer hash policy.