Addition of xmlns and type properties