1. role Encoding {
  2. method name(--> Str) { ... }
  3. method alternative-names() { Empty }
  4. method encoder(*%options --> Encoding::Encoder) { ... }
  5. method decoder(*%options --> Encoding::Decoder) { ... }
  6. }