Fix #1319.