In fact, let's replace all of these with a `append_child` method with sets all of the fields correctly.