Added static hashing functions.