Fix #396.