Added OutputParameter support to QueryResults