Dynamic children

Fixes #1