Pipeline Hazards and Their Remedies