Update Hazard.as

Changed some public functions to private