Check for presence of kind attribute before setting it