if (!config) {
      return EMPTY;
    }
Use this function instead of the `CharacterMetadata` constructor.
Since most content generally uses only a very small number of
style/entity permutations, we can reuse these objects as often as
possible.