Created common interface for all widgets