Create alternative write! and write methods