Fixed some typos and inconsistencies.