add setname to function so you can set custom debug info for functions.