Add Alerts support
Fix formatting
Merge pull request #1 from drewlander/master

Add support for alerts