Fix #298.