Expose an API for users to set options on a query