This breaks the API since a new parameter has been added. It should be a one-line fix. See api-example.py.