Added scopes to each resource doc