Set default expectedParameters method for widgets