Remove unnecessary folders.