Fix code comment

- Add missing arguments
- Fix order of type and argument name
- Fix argument name
Add missing arguments in code comment
Fix typo

- a Ember -> an Ember
Merge pull request #2092 from tricknotes/fix-document

Fix document