code: function expandAliases(version, methods) {
      return _.flatMap(methods, method => expandAlias(version, method))
  }
docs: Gets a major version number and a list of methods and returns a list of methods and all their aliases
  @param version
  @param methods
  @returns {string[]}