doc scopes conversions