Clean up of different types of clients.