Added attachment property to Note model