Cosmit:

address @agramfort's comments