Programatically change doctype structure

@Khadija you can use Property Setter for that