Implement public functions more generally as case-lambda.