Moved all state logic into the component core.