Added some snippets for google closure.