Properly sets options.

Fixes #20