Add query for dok refs.