adds ability to bind to local methods