config: support pool_class setting.
release: v0.2.2.