Ensured the internals of mapped classes are generated.

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

Ensured the internals of mapped classes are generated