Add conversion option.

Fixes #7.