remove side-effect from constructor
Merge pull request #2 from whiteout-io/dev/attachments

remove side-effect from constructor