stm: Fix print methods with new kind argument.