Hidden DOCTYPE was removed from 4x and will not be brought back until Ephesoft version 5 release scheduled for Q2 2017. Any Batch classes that relied on this feature in 3x will not function when brought into 4x.