Fixed the generation of internal implementations of abstract classes to actually work.

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

Fixed the generation of internal implementations of abstract classes to actually work