Add bindShared to contract.