Fixed typos and added some notes.