Added widget implementation.