proc render(self: Element): seq[Primitive] {...}{.raises: [UnpackError, Exception], tags: [RootEffect].}