Implemented sub-components destroying.