[api] beautify last commit a bit