Added comments to Resource classes and methods.