minor api tweaks