Revert "dtd hack"

This reverts commit 8a871f59222a769b7f2a8baf7da26d755d9941f2.