Clean up defs.