Access filter from Python

Of course I checked that (I usually do this and run a lot of dir() and help() on everything before asking here.

The core docu provides the same information as running help() on the mentioned (also attempted to be inititalized with alloc().init()) filter class instance.

So, It has some methods like runFilterWithLayer_error_ which doesn’t work as I expect.
I still cannot find this particular thing. Please help me out with some tangible info.

I tried (among many other things):

f = Glyphs.font
thisFilter = NSClassFromString("RoundedFont")
for layer in f.selectedLayers:
	thisFilter.runFilterWithLayer_error_(layer, None)

it returns:
TypeError: Expecting instance of RoundedFont as self, got one of NSKVONotifying_GSLayer
even though the documentation asks for the GSLayer as first attribute. So what is going wrong here?

BTW: If I’m super funny and pass the filter instance again into the first argument:
thisFilter.runFilterWithLayer_error_(thisFilter, None)
I get this:
TypeError: Expecting instance of RoundedFont as self, got one of RoundedFont

Ooooookay …