Edits, and added links to example code.