Implement client.clear() for clearing packages.