Fix all infinite recursions.