added class documentation.