Fixes #282.