(EDITOR) Add ToProtocol to codegen