Intercept the API only once.

Each init caused the API to be wrapped each time, which flooded stack
traces in case of an errors.