Add support for various airbrake API versions.