Add support for bindings with class parameters or returns