Add xerror controllers and views.