Implemented Set interface to the BeanIndexer. Also backing collection generation is extracted to a factory to increase fleaxibility.