Deprecate `Class` handler in `PredicateBuilder`

Users should pass strings to queries instead of classes