Make predicate retrieval more efficient.