Expose encoder selection.

Closes #16.