REVIEW-4119: Use the result's getAllComponents() instead.