SDAG: Consolidate handling of parameter types to improve template support