Add basic support for guards, refs #35.
Add docs to the README on guard usage.