Extract Class from Parameters