Switched around order of parameters in widget() consistent with the docstring.