Add class method then subclass can specify which property is optional. This can be used on struct and primitive property.
Merge pull request #78 from shuoli84/master

Add class method then subclass can specify which property is optional. T...