Added remParam and addParam func.