Initial state must be set after createValue()