Changed second argument - params - of class constructor to optional