Finishing the torus class.