AttachmentModel: Change enabled to static method.