Change result type from void to WriteResult