Some extra modifications. Get doctrine odm from container in the interception service