Implement adding attachment support.