New implementation of symmetry.