I used this for the treebrowserbundle refactoring, we would need to get it into sonata (maybe its already possible), then yes, we could get rid of this.