Along with the following shell command :
grep --only-matching --no-filename -R 'include <Q.*>' | cut -f2 -d' ' | sort | uniq
Along with the following shell command :
you can quickly see what must stay and what can go