Added widget and all actions.
Optimization