Updated weak/strong reference snippets. Updated documentation snippets.