Dead code removal and project file updates