closes #20 - support for attachment groups