How do I access the basic methods from a plugin?

In the GlyphsApi docs there’s a list of “methods”. In the macro window where I can play around with trial and error I can use the intersectPaths-method.

But when I try to use it inside my plugin, it looks like the intersectPaths-method isn’t known from within the classes I’ve declared to try and package it in different modules.

I’ve tried looking through the Font and Glyphs object, but I can’t see any “intersectPaths”-method, so I’m guessing it’s declared somewhere else. Is there some preferred way of using these “global” functions from within a Python plugin?