Some client-side cleanup.