Add warnings to equals
ParentedTreeElement implements Serializable