Generates code to describe watermark