Fix #296.