Moves property out of public header. Removes commented lines.
Simplify if conditional.
Fix method parameter description.
Fix method name case.
Clarify variable names.
Simplify if conditionals. Fix comment typo.
Update enum declaration.