Add virtual destructor for basic_fragment which is lack