addParamsToDecl also works if no previous params