Fix doctype deprecation