Numerous typos were fixed. Some unused constants, variables and arguments were removed.
What does this MR do?
Fixes numerous typos. Removes some unused constants, variables and arguments.
Why was this MR needed?
Some typos directly go to the documentation. Better to have it fixed.
Are there points in the code the reviewer needs to double check?
Does this MR meet the acceptance criteria?
What are the relevant issue numbers?