You need to tell the document its "owning" structure, you shouldn't need to actually attach it to a structure: aDocument owner: aStructure