Centralizer of a group, ring, algebra

Given a subset S of R (a group, a ring or an algebra), we define CR(S) as the set of all elements of R which commute with all the elements of R. It is a subgroup, subring or a subalgebra respectively (see wikipedia).