Initial code for contract support within horizon