Add apiError controller plugin.