Added type test to read/write field predicates