Converting abstract filters into interfaces due to lack of mixins in java.