Defining replacement method with a splat to avoid all the parameter determining code. Also stored procs were not taking class names into account so only 1 proc per method name was saved.