Simplest possible API for the filter part.