Change the attribute name to writeBody