Added comments to methods and classes.