Fix struct vs. class in forward declarations