Adding docs for scoping rules.