Add pooling to app.