Add load guard
Merge pull request #13 from xeross/load-guard

Added a load guard.