StateManager now offers a 'initialState' parameter.