Implemented deletion of a detail type