Remove unused defs.