Added support for object pooling of Gene instances.