Optional appending support in CreateElement