Summary & Optimize & Remove Dead Code