Changed the generation of method bodies to avoid duplication of local variables when a fixed instance is required.

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

Changed the generation of method bodies to avoid duplication of local variables when a fixed instance is required