Fix struct class closure parameters

The name parameter should not be optional.  Thanks Kalimehtar for
reminding me.
Merge pull request #23 from hying-caritas/fix-struct-class-closure

Fix struct class closure parameters