added setFilters

for #196

note that instead of implementing the whole API discussed in the issue, i instead did not change `setFilter` to retain backwards compatibility and instead only added setFilters, which takes an array of filters.