Added comments to API helper