Add attachment delete functions