Updated class documentation and improved exception logging.