Just restor some code snippets.