Change api to be similar to exec.
Bump version.