Added populate() and bindEventListeners() methods to Widget class.