Fixed a typo, and defined class constants by using "final" keyword.