Fix note class access