Added num_changes attribute.