Documenting scopes