Fix client classes loading on server