Remove unused definitions from product file