Remove dead code from AttachementsController