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