Fix a few typos

Fix some typos and add an example for instance injection.