Added 'ObjectPool' and factory classes.