Currently we are using `Self` (in backticks) in the docs to functions defined by the `do_iml` macro, this is a bit lazy, we can do better than that. Use `doc` attribute and the `$ty` macro variable to construct the docs to use the type name.