Don't prepend \ for inClass 

Solves comparison by class name in toNative.