Fix SonataCoreBundle integration