Added Hashed type for caching the 'hash' function result.