fix: fwd decl using class instead of struct