Add a DOCTYPE on serialization.