Added working client-side prection.