adds deprecation warning for doctype shortcut