Fixed the hashing function used to lookup function names.