More concise hash functions.