Adding a hook to attach side entities after generating them.