Adding a Torus class.