Removes obsolete imports