Adapting Querywriter to ValueInterface