Added method to traverse subviews.