Widgets now use super() method to inherit from Widget class.