Allow passing incomplete option arrays to addOptions().
Fixes #15.