Removed has started, implemented onAttach/onDetach to components.