Add a __toString function.
Store a query opts function for the final query.
Store the current query mode.