Added snippets for object pool creation