Simplified the hazard getters so that they are pickleable by default
Merge pull request #1045 from gem/pickle-hazard-getters

Simplified the hazard getters so that they are pickleable without effort