Revert "missing interface"

This reverts commit 5236497fb44b79cfc52f7648b8d0cb1abbe98ef2.
Revert "quick hack to make filtering callback work with protobufs"

This reverts commit 4fb27dfab602fb45ea421a690322474bb367a7c1.