Remove unused code snippets