class_to_struct: Removed dynamic call on classname in favor of a static call.