code: function augment(fn, keys) {
    keys = keys || fn.params || [];
    if (!Array.isArray(keys)) keys = Object.keys(keys);
    fn.params = keys;
    return fn;
  }
docs: Augment translate functions with params reduce functions
  
  @param {Function} fn
  @param {Array} keys
  @return {Function}