Fixed a few warning caused by classes forwarded as structs.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #284 from ddobrev/master

Fixed a few warning caused by classes forwarded as structs