Added support for foreigObject Elements