Fixed lazy to insist upon a reference type. Fixed AttachmentModel to use a reference type. Implemented file downloads.