Refactored Key to a Java like enum.
Refactored Key to a Java like enum.