Huge FLA!

Is there anyway flash can detect from the library elements that are not used in the scene and delete them automatically or I have to do manually??