Revert "Move linking of child nodes to a dedicated mixin."

This doesn't actually make things any easier. It also introduces a weirdly
named mixin.

This reverts commit 0968465f0c8ffc60c37fc5eebe59e76df6e43d4f.