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