Adding DocQueryResource