old_contents: from fluent_contents.extensions import plugin_pool, ContentPlugin
  
  from . import models
  
  
  @plugin_pool.register
  class MapPlugin(ContentPlugin):
      model = models.MapItem
      render_template = 'icekit/plugins/map/embed.html'
  
      def render(self, request, instance, **kwargs):
          instance.parse_share_url()
          return super(MapPlugin, self).render(request, instance, **kwargs)
  
new_contents: from fluent_contents.extensions import plugin_pool, ContentPlugin
  
  from . import models
  
  
  @plugin_pool.register
  class MapPlugin(ContentPlugin):
      model = models.MapItem
      render_template = 'icekit/plugins/map/embed.html'
      category = _('Media')
  
      def render(self, request, instance, **kwargs):
          instance.parse_share_url()
          return super(MapPlugin, self).render(request, instance, **kwargs)
  
subject: Add category to plugin.