Add support for where clauses (limited depth) in the data object definition