When using composer, it is simpler to register the composer autoloader.