Unused code, variables, and files removed