Fix #1095.