Replacement of elements.