Corrections

Added a setter (SetNotes) to allow for serialization; reformatting code.