Fixes #20 with a poor solution.