removing unnecessary modules from project model