Add core.edit.state to the component level