Modified initialize_cluster method to be backward compatible.