createEntity(type: string, data: DataMap<string>, mutability: EntityMutability = 'MUTABLE') {
   this.contentStateForEntities = this.contentStateForEntities.createEntity(
     type,
     mutability,
     data,
   );
   return this.contentStateForEntities.getLastCreatedEntityKey();
 }