isdeprecated: actually pass a module in, instead of trying to eval a string