Added some comments to the class methods