Some client cleanup.