Remove useless code and files