<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:five="http://namespaces.zope.org/five"
    xmlns:plone="http://namespaces.plone.org/plone">

    <include package=".browser" />

    <!-- Register a name chooser that chooses plone-like normalized names -->
    <adapter
      for="Products.CMFCore.interfaces.IFolderish"
      factory=".namechooser.NormalizingNameChooser"
      provides="zope.container.interfaces.INameChooser"
      />

    <!-- Re-index content when it's modified -->
    <subscriber
        for=".interfaces.IReindexOnModify
             zope.lifecycleevent.interfaces.IObjectModifiedEvent"
        handler=".catalog.reindexOnModify"
        />

</configure>
