Add warning for Query & QueryGroup deprecation