Fixed a few warning caused by classes forwarded as structs.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>