ENHANCED! Sped up performance of getParam and callProcedure.