Fixed a typo and naming convention.