This doesn't looks like a good idea as it prevents noticing errors if there is no `'<!DOCTYPE'`. Why do you think this is necessary?