Fix bug in api. Bump version.