lib & contrib: remove references to on_start and on_destroy