parameters:
#    bonnes_adresses.example.class: Bonnes\AdressesBundle\Example

services:

    adresses.admin:
        class: Bonnes\AdressesBundle\Admin\AdresseAdmin
        tags:
            - { name: sonata.admin, manager_type: doctrine_mongodb, group: "Adresses", label: "Adresses" }
        arguments: [null, Bonnes\AdressesBundle\Document\Adresse, null]

    adressestype.admin:
        class: Bonnes\AdressesBundle\Admin\AdresseTypeAdmin
        tags:
            - { name: sonata.admin, manager_type: doctrine_mongodb, group: "Adresses", label: "Adresses Type" }
        arguments: [null, Bonnes\AdressesBundle\Document\AdresseType, null]

    my.sitemap.listener:
        class: Bonnes\AdressesBundle\EventListener\SitemapListener
        arguments: [@router, @doctrine_mongodb]
        tags: [{name: "presta.sitemap.listener"}]

    twig.extension.text:
        class: Twig_Extensions_Extension_Text
        tags:
            - { name: twig.extension }

parameters:
#    bonnes_adresses.example.class: Bonnes\AdressesBundle\Example

services:

    adresses.admin:
        class: Bonnes\AdressesBundle\Admin\AdresseAdmin
        tags:
            - { name: sonata.admin, manager_type: doctrine_mongodb, group: "Adresses", label: "Adresses" }
        arguments: [null, Bonnes\AdressesBundle\Document\Adresse, null]

    my.sitemap.listener:
        class: Bonnes\AdressesBundle\EventListener\SitemapListener
        arguments: [@router, @doctrine_mongodb]
        tags: [{name: "presta.sitemap.listener"}]

    twig.extension.text:
        class: Twig_Extensions_Extension_Text
        tags:
            - { name: twig.extension }

Remove last piece of AdresseType
Remove last piece of AdresseType
