added Serializable to ease use with Vaadin etc