Add end_flight() implementation.