New API calls and fixes to parameter types