Added additional parameter to addDecl() function to facilitate proc parameters.