made pipeline override possible on an ApiMethod