Set children and components attributes as private