Added support for x:Name and xml:lang properties. Optimized object creation (top-bottom).