What reformation was caused by various heretical groups?