Remarks on the group of isometries of a Riemannian manifold