This should be part of the SonataAdminBundle