Filtering

Adding options to the `API` constructor to allow global and per-method data filtering.