Added object pool handlers, fixes #22.