Fix #372.
Merge remote-tracking branch 'upstream/master'