Fixed a few warning caused by classes forwarded as structs