Attachments on objects and type objects