Use assert(0) instead of throwing AssertError.