Fixes #27

I should've done this ages ago.