Implement new filter_ws API changes.