Fixing example to match current Pool API

Fixes #57