Adds code for DrawingResult objects