Looks like this is a mismatch between the internal behaviour and where it's called elsewhere - i.e. the catalog terminus static_compiler doesn't support filter, even though the objects internally might and this matters because where it's tested externally, it doesn't have the filter method.  Doing this any other way at this point looks like a lot of work :(