removing unused defs for files in ./