Added write method.