Added easy hash functions for strings.