Adding with-state as a dependency