Add state entity as dependency.