Adding XML custom type