Factoring out common operation `AppHighLevel.get_component`.