Support the new exclude API parameter.
Crash prevention.