Fixes typos and adds more example code