minor API cleanup