Removal of unnecessary SWF