Added functions in widget trait

`NOT OK`?