Refactor put attachment (slightly)