Add outer template in scoping example, fixed typo.