Make query objects lazy.