Using https://github.com/poole/poole as a template.