Added support to virtual properties in Query.