Fix #164.

Signed-off-by: Ben Corlett <bencorlett@me.com>