Adding docid parameter.