What was the purpose of changing this method signature? It now breaks compatibility with Sonata\MediaBundle\Model\MediaManagerInterface and I don't thing the MediaManagerInterface should have a $andFlush parameter or if there is a use case then it should be the last parameter. I'm working on refactoring some of this bundle to achieve multiple things and this is one problem I have come across.