Fix incorrect forward declaration of struct as class.