Implement proxying of hash function for C implementation of object proxy.