Added initialState config.