Adding features to the serializable class