Fix incorrect usage of get_class().