Implemented widget's methods for handlig classes and styles.
Added samples for styling widgets.