Added more example code and notes.