Fix some spelling errors and update the parameter lists to be correct.