Simplified widget API.