Reduce the number of problems in resources by removing unused imports