Fix #277.
Fix #278.