make it in one line (add \Newscoop\Entity\Publication to use and here put only Publication).