Allow passing in from/to in the query parameters