you can add Type Hinting for the ``$pool`` parameter