Fix uninitialized member 'kind'