Made some predicates static.