Disabling MatrixWriter and DistanceWriter