XML writers for some core classes.