document can load subclasses of SvgDocument, fill inheritance working