Adds comments to API with nesting