set the stacklevel for all DeprecationWarning's
added a DeprecationWarning to __get_safe()