Fixed APIControllerTrait