You can type hint the $entity (``Biblio $biblio``)