Fix #1184.