Change version to 2.0.0-dev.
Migrate from callbacks to promises.