Reworked client-side interaction code.