Make APIBase.checks return the headers directly.
We no longer need a dict, now that we use exceptions.