Remove filter util, it's trivial to implement where needed, and it's not needed anywhere in core.
Remove unused `tr` util.