Adding filters to contracts.