Fixing code block execution result issue in the plugin environment class.