Implementing removeAllSubContents