A quick tidy of the object pool class.