Refer from activesupport-2.2.0.
Remove the dependecies to activesupport.
change the key to hash value of args.
Not Thread safe
Add the clear method.