Add interfaces to simple hash functions.