There's a lot of boilerplate at the moment around instrumenting a function in a library - checking if the function is there, adding the decorator around it, etc. It would be nice to remove some of that duplication to reduce the effort to instrument a new library.