Got rid of the rarely used apiMode