Replaced foundation::Hash with foundation::ImmutableHash (using inheritance is stupid).