Initial state must be set after createValue()

Otherwise there is a difference between `hash().foo` and `hash.foo()` which is an inconsistency that you do not want.