Preserve order of check types in APIUtils.