Fixed closing brackets on code snippets.