Simplified writer methods, don't need begin/end on leaf nodes.