Fixes options coercing in API.

* Apparently it was introduced when renaming options in 3.0.