MDL-63806 glossary: Move delete code to API function