Fix #18 get_class() called without object from outside a class

Fix #18 get_class() called without object from outside a class