Support lambda-based values for params.