Removed unneeded class requires from api.php.