minor API tweaks