Dead code and resources removed.