Added functions in widget trait

Ah ok I see, usually I use, depending on the context, TODO or FIXME for this.