Clean up defs files