Modify controllers
Add attachments property to Document