sl/adt_op_def: create a template for remove()