Removing unneeded files and functions