default R add(Element elem) {
        elements().add(elem);
        @SuppressWarnings("unchecked")
        final R self = (R) this;
        return self;
    }
@author Per Minborg
@param <R> type of self
common-parent/codegenxml/src/main/java/com/speedment/common/codegenxml/trait/HasElements.java