After looking at it, I did pull out a common "checkCommonAPIInfo" function and use that for the other args.