Add flagging API.
Fix tests
missing semicolon
Merge pull request #6 from clearbit/alex-add-flag

Add flagging API.