Don't rely on Deref inside `hash`.

Apprently it introduces a major performance regression, probably
due to a spurious copy.
0.6.1