Use Data::write() to clean things up slightly.