I know that the collisions implementation isbsed on bump.lua, is the classes implementation a similar story?
It's in the CoreLibs folder in the SDK installation.
It's based on an old open source method from a now defunct website, but you can plug the link into a Wayback Machine to see the original.