Fix collections API call; other minor fixes