Add support for random hash lookups