Fix: reference to Schema class in predicates.
Modified: getting field type directly from instance