Add newline to end of doc