Added a directive for the selected components/data.