Support lambda-based default values for params
Merge pull request #510 from myitcv/lambda_based_default_params

Support lambda-based default values for params