Add support for enclose option. Closes #139.