Modifying GC for use with CI4

I finally am making the transition to CI4. It seems like a pretty big change. Anyway I am trying to load the GC library wth this code:

public function initController(RequestInterface $request, ResponseInterface $response, LoggerInterface $logger)
    // Do Not Edit This Line
    parent::initController($request, $response, $logger);

    // Preload any models, libraries, etc, here.

Is this the proper way to load the GC library in CI4?