Add some register bindings and code