Fix #291.