Added write methods.