Added ability to queue up children and register them once their parent is registered

fixes #486