Add namespace to api definition.
Document api public methods.
Change namespace to accept full class name.
Share common helper.
Fix spec as scopes are no longer cached.
Change api scopes to use namespace.
Change main scopes to use namespace.