Fix #330.