Small but critical changes to samples
Merge branch 'master' into linnea
Merge branch 'linnea'