Add interfaces for widgets.

Change-Id: Ibd17162d37e367720829bcdaf9a350e446c833b9