It seems like this should be at least be an enum somewhere so it can be reused, particularly as we add other nodes which use filters over time. Is there some merit in having a FilterPlug with a filter() method returning a Filter()? Or a registration/creation mechanism on Filter itself? I don't want to overcomplicate things but it does seem like we need something here...