Refactored Notes to use a Java like enum approach.