add attachment related class