Added support for writing the method body bytes using the InstructionWriter class