Add documentation for variables in scopes