throw clear exception if dn() is called without provision
remove deprecated code