Tweak _api_view decorator.