Make params a class property.