Adding getResult to  writer classes