Support per-block filtering. (#30)