Added documentation for ring.