public static Object get(Key key) {
   return VaadinSession.getCurrent().getAttribute(key.toString());
 }
 public static void set(Key key, Object object) {
   VaadinSession.getCurrent().setAttribute(key.toString(), object);
 }