A simple object pool