Added support to set up bindings.