Fixes #40.