Add comments to public functions