Start implementing the Filter API, based on the code from Stream API. Not tested yet. Comments are very welcome.
Fixes: #29