Make API mismatch error message nicer.