Fixed the generation of calls to members of nested classes.

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

Fixed the generation of calls to members of nested classes