Added implicit conversion for Hash