Fixes #284.