ktypes vs. devices classes (struct class)