Cleaned up `Note.java`.