Generated methods and variables of base classes of value types.

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

Generated methods and variables of base classes of value types