EqualPropertiesDefiner for object queries. Got rid of two unused classes