Fix #377
Merge branch 'master' into control-sequences