How to get class name of native class

Not very efficient though, creating a new node everytime the function is called.
Probably negligible, since it usually will only be called once in a few places, but still feels dirty.