Add target to RetryPolicy function signatures

This is useful to those adding logging in their RetryPolicy
implementation.