api style tweaks