Created interface for retry policies.