Use standard get_class() function instead of get_classname() function.