Remove Civicrm::registerClassLoader() - we assume this is done in the civicrm.settings.php file.