- refactored to make IDEActivityComponent more readable.