Get fire-method to pass
Use encode instead of encodeProtobuf