adjust to setParentDocument and mention SonataCoreBundle where needed. fix #425