Fix several source typos
This MR fixes source typos that may cause API breakage. These changes have not been tested. Please review closely.
This MR fixes source typos that may cause API breakage. These changes have not been tested. Please review closely.