Updated Invoke-Encode/Decode in Powerpreter