Merge pull request #284 from ddobrev/master

Fixed a few warning caused by classes forwarded as structs
Added support for default values of parameters.

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