Replaced OpenCV runtime layout with XML.