Add contract template