Add preliminary hooks for dtd_enable control