Add basic widget functionality