Added scopes api because it needs a documentation update. (See comments for the attached diff branch.)
Added scopes api because it needs a documentation update. (See comments for the attached diff branch.)