Flexible Cluster Algorithms