Added interface Serializable to models