Some API sanity checks