Remove unnecessary code snippets