added classes option to Widget