Inject state object