add support for new params api to the class ctors