Embed widget into constructor