AbstractWidget implemented.