emodel: Fixed child_add functionality; made the whole thing work.