public function removeWithoutPreAndPostRemove($object, $flushed = true)
    {
        $em = $this->getEntityManager();
        $em->remove($object);
        if ($flushed) {
            $em->flush($object);
        }
        return $object;
    }