Fix document

I fixed some typos in code comment.
- **a** Ember -> **an** Ember
- Add missing arguments
- Fix order of type and argument name
- Fix argument name in code comment