Implement CClusterContexts, bugfixed for CExtractContexts