Modules can make use of autoloading for their libraries, classes and models. Please refer to https://docs.whmcs.com/Module_Class_Autoloading for documentation relating to this.